home *** CD-ROM | disk | FTP | other *** search
- t += "0.1";
- oldx = x;
- oldy = y;
- x = getProperty("Ball", _X);
- y = getProperty("Ball", _Y);
- vy += g / "10";
- x += vx / "10";
- y += vy / "10";
- if(y < BallRadius)
- {
- y = BallRadius;
- vx *= elastic;
- vy = - vy * elastic;
- }
- if("300" - BallRadius < y)
- {
- if(kicked == "1")
- {
- tellTarget("verdictmov")
- {
- gotoAndPlay(2);
- }
- kicked = "0";
- if(score < "5")
- {
- verdict = "that\'s so weak! hahahaha! try again ...please";
- }
- else if(score < "10")
- {
- verdict = "aren\'t you embarrassed already?";
- }
- else if(score < "15")
- {
- verdict = "if you\'re under 6 years old, that\'s a good score ...you are under 6, aren\'t you?";
- }
- else if(score < "20")
- {
- verdict = "that\'s better! but shouldn\'t you get back to work?";
- }
- else if(score < "25")
- {
- verdict = "you do have too much free time huh?";
- }
- else if(score < "30")
- {
- verdict = "you might just do it ...maybe this wasn\'t a waste of time after all";
- }
- else if(score < "50")
- {
- verdict = "well done! that only took you " add int(getTimer() / "1000") add " seconds!";
- }
- else if(score < "100")
- {
- verdict = "the kick-ups forum is here http://pub73.ezboard.com/bvectorinternet ...and the password to post is iown3dkickups";
- }
- else if("99" < score)
- {
- verdict = "over 100?! very good. you know you\'ve been playing for " add int(getTimer() / "1000") add " seconds?!";
- }
- else if("1999" < score)
- {
- unloadMovieNum(0);
- }
- if(bestscore < score)
- {
- bestscore = score;
- set("../score/:my_score",bestscore);
- }
- }
- y = "300" - BallRadius;
- vx *= elastic;
- vy = - vy * elastic;
- }
- if(x < BallRadius)
- {
- x = BallRadius;
- vx = - vx * elastic;
- vy *= elastic;
- }
- if("400" - BallRadius < x)
- {
- x = "400" - BallRadius;
- vx = - vx * elastic;
- vy *= elastic;
- }
- setProperty("Ball", _X, x);
- setProperty("Ball", _Y, y);
- setProperty("Ball", _rotation, x);
- setProperty("Ball", _xscale, "100");
- setProperty("Ball", _yscale, "100");
- setProperty("shadow", _X, x);
- setProperty("shadow", _alpha, y / "2" - "50");
- setProperty("shadow", _xscale, y / "4");
- setProperty("shadow", _yscale, y / "12");
-